import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

const app = createApp(App)
// design
import { Button, message } from 'ant-design-vue'
// svgIcon 配置代码
import 'virtual:svg-icons-register'
// 引入全局注册
import globalComponent from '@/components/index'
// 引入路由进行注册
import router from '@/router'

app.use(globalComponent)
app.use(Button)
app.use(router)
app.config.globalProperties.$message = message

app.mount('#app')
